package com.swxy.club.dto.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.swxy.club.enums.Gender;
import com.swxy.club.serializer.EnumFlatSerializer;
import lombok.Data;

/**
 * @author 易
 */
@Data
public class CurrentUserVO {

    private Long id;
    private String idNumber;
    private String email;
    private String phone;
    private String realName;
    @JsonSerialize(using = EnumFlatSerializer.class)
    private Gender gender;
    private String avatar;
}
